<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
	<title>Media Marketindo - Administrator Page</title>
	<link href="../css/style_login.css" rel="stylesheet" type="text/css" />
	<script src="../js/jquery.min.js" type="text/javascript"></script>
	<script language="javascript" type="text/javascript">
	var imagesPath = "../css/images/";
	</script>
	<script language="javascript" src="../js/niceforms.js" type="text/javascript"></script>
	<link href="../css/niceforms-default.css" media="all" rel="stylesheet" type="text/css" />
	<script language="javascript" type="text/javascript">
		$(function()
		{
			$("#form_login").submit(function()
			{
				var username = $("#username").val();
				var password = $("#password").val();
				if(!username)
					alert("Username masih kosong");	
				else if(!password)
					alert("Password masih kosong");	
				else
					return true;
				return false;
			});
		});
	</script>
</head>
<body>
	<div id="main_container">
		<div class="header_login"><br /><br /><br /><br /><br /><br /><br /></div>
		<div class="login_form">
			<h3>
			<?php
			session_start();
			if(!empty($_SESSION["login.warning"]))
			{
				echo $_SESSION["login.warning"];
				unset($_SESSION["login.warning"]);
			}
			else
				echo "Login";
			?>
			</h3>
			<form action="index_cek_login.php" class="niceform" id="form_login" method="post">
				<fieldset>
					<dl>
						<dt><label for="username">Username:</label></dt>
						<dd><input id="username" name="username" size="50" type="text" /></dd>
					</dl>
					<dl>
						<dt><label for="password">Password:</label></dt>
						<dd><input id="password" name="password" size="50" type="password" /></dd>
					</dl>
					<dl class="submit"><input id="submit" name="login" type="submit" value="Login" /></dl>
				</fieldset>
			</form>
		</div>
	</div>
</body>
</html>